package com.hoshiicloud.user.service.organization;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.user.entity.organization.StoreOrganizationDepartmentesUsers;

import java.util.List;

/**
 * <p>
 * 店铺机构部门人员 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-05-27
 */
public interface StoreOrganizationDepartmentesUsersService extends IService<StoreOrganizationDepartmentesUsers> {

    IPage<StoreOrganizationDepartmentesUsers> getPage(IPage<StoreOrganizationDepartmentesUsers> page, QueryWrapper<StoreOrganizationDepartmentesUsers> queryWrapper, String key);

    StoreOrganizationDepartmentesUsers getById(Long id);

    boolean save(StoreOrganizationDepartmentesUsers entity);

    boolean updateById(StoreOrganizationDepartmentesUsers entity);

    boolean deleteById(Long id);

    List<StoreOrganizationDepartmentesUsers> getByIds(List<Long> ids, String key);
}
